js on page loaded

143

js on page loaded -

window.onload = function() {
  yourFunction(param1, param2);
};

run on load js -

function codeAddress() {
            alert('ok');
        }
window.onload = codeAddress;

Comments

Submit
0 Comments